import static org.junit.Assert.*;

import org.junit.Test;


public class TestBasics {

	private int a = 0;
	private int b = 2147483647;
	private int c = -2147483648;
	private double d = 0.0;
	private double e = (1.7*Math.pow(10, 308));
	private double f = (5.0*Math.pow(10, -324));
	@Test
	public void intTooBigAddOne() {
		System.out.println("int too big + 1 = " + (b+1));
	}
	@Test
	public void intTooBigAddMultiplicateTow() {
		System.out.println("int too big * 2 = " + (b*2));
	}
	@Test
	public void intTooSmallMinOne() {
		System.out.println("int too small -1 = " + (c-1));
	}
	@Test
	public void intTooSmallMultiplicateTow() {
		System.out.println("int too small *2 = " + (c*2));
	}
	@Test
	public void intZeroDivison(){
		System.out.println("int / 0 " + b/a );
	}
	@Test
	public void doubleTooBigAddOne() {
		System.out.println("double too big + 1 = " + (e+1));
	}
	@Test
	public void doubleTooBigAddOnee308() {
		System.out.println("double too big + 1 = " + (e+(1*Math.pow(10, 308))));
	}
	@Test
	public void doubleTooBigAddMultiplicate2() {
		System.out.println("double too big * 2 = " + (e*2));
	}
	@Test
	public void doubleTooSmallMinOne() {
		System.out.println("double too small - 1 = " + (f-1));
	}
	@Test
	public void doubleTooSmallMinMultiplicate2() {
		System.out.println("double too small * 2 = " + (f*2));
	}
	@Test
	public void doubleZeroDivison() {
		System.out.println("double / 0  = " + e/d );
	}
	@Test
	public void doubleInvZeroDivison() {
		double inv = (e*2);
		System.out.println("double / 0  = " + inv/0.0 );
	}

}
